<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/2/20 0020
 * Time: 11:46
 */

namespace factoryAbstract;

class PlantFactory implements Factory
{
    public function createFarm()
    {
        // TODO: Implement createFarm() method.
        return new RiceFarm();
    }

    public function createZoo()
    {
        // TODO: Implement createZoo() method.
        return new PeonyZoo();
    }
}